package com.yf.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 零售订单实体
 * 表名 mall_order
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 16 13:57:31 CST 2018
 */
@Setter
@Getter
public class MallOrderEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //表ID
    private Long id;
    //订单编号
    private String orderNo;
    //物流公司
    private String company;
    //物流单号
    private String expressNo;
    //物流费
    private BigDecimal expressFee;
    //总金额
    private BigDecimal totalMoney;
    //ENUM-支付方式:'微信','电子币','线下'
    private Integer payWay;
    //ENUM-支付状态:'待支付','已支付','已退款'
    private Integer payStatus;
    //抵扣金额
    private BigDecimal otherMoney;
    //抵扣备注
    private String payInfo;
    //ENUM-发货状态:'未发货','已发货','已收款'
    private Integer deliverStatus;
    //国家
    private String country;
    //省
    private String province;
    //市
    private String city;
    //县
    private String county;
    //详细地址
    private String address;
    //收货人名字
    private String userName;
    //收货人编号
    private String userCode;
    //收货人电话
    private String userPhone;
    //创建时间
    private Date createTime;
    //支付时间
    private Date payTime;
    //发货时间
    private Date deliveryTime;
    //活动ID
    private Long campaignId;
    //ENUM-活动类型:'拼团','秒杀','抽奖'
    private Integer campaignType;
    //ENUM-订单状态:'等待处理','下单成功','下单失败'
    private Integer orderStatus;
    //备注
    private String remark;

}
